<?php /* Smarty version 2.6.16, created on 2012-10-30 17:54:05
         compiled from top.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?php echo $this->_tpl_vars['CmsArr']['metatag_keywords']; ?>
" />  
<meta name="description" content="<?php echo $this->_tpl_vars['CmsArr']['metatag_description']; ?>
" />
<title><?php if ($this->_tpl_vars['CmsArr']['metatag_title'] != ''):  echo $this->_tpl_vars['CmsArr']['metatag_title'];  else: ?>Welcome to our Website<?php endif; ?></title>



<link rel="icon" href="images/icon_32.png" sizes="32x32">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/graphite.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="style/default.css" type="text/css" media="screen" />

<?php echo '
<script type="text/javascript" src="jss/jquery-1.8.0.min.js"></script>
<!--script type="text/javascript" src="jss/jquery-1.7.2.dev.js"></script-->
<script type="text/javascript" src="jss/jquery.nicescroll.js"></script>
<link rel="stylesheet" href="style/jquery-ui-1.8.23.custom.css" type="text/css" />
<script type="text/javascript" src="jss/jquery-ui-1.8.23.customDEV.js"></script> 

<link rel="stylesheet" href="style/ingrid.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/ingrid.js"></script>
<script language="javascript" type="text/javascript" src="_scripts/jQuery.functions.pack.js"></script>
<script type="text/javascript" src="js/jquery.dateLists.min.js"></script>
<script language="javascript" src="js/contact_us.js"></script>
<script language="javascript" type="text/javascript" src="includeajax/AjaxUserInterface.js"></script>
<script language="javascript" type="text/javascript" src="_scripts/common.js"></script>
<script language="javascript" type="text/javascript" src="js/common.js"></script>
<script language="javascript" type="text/javascript" src="sitemanager/js/jquery-impromptu.2.4.min.js"></script>
<link href="style/alert.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="includeajax/user_login.js"></script>

<link rel="stylesheet" type="text/css" href="style/ui.dropdownchecklist.css" />
<link rel="stylesheet" type="text/css" href="style/jquery.dateLists.css" />
<script type="text/javascript" src="js/ui.core.js"></script>
<script type="text/javascript" src="js/ui.dropdownchecklist.js"></script>
<link rel="stylesheet" href="style/autosuggest.css" type="text/css" />
<script type="text/javascript" src="js/jquery.ausu-autosuggest.min.js"></script>
'; ?>


<?php if ($_SESSION['user_id'] != ''): ?>
<?php echo '
<link rel="stylesheet" href="http://chiron/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">

<link type="text/css" href="style/notification.css" rel="stylesheet" />
<link type="text/css" href="style/players.css" rel="stylesheet" />
<script type="text/javascript" src="jss/notifications.js"></script>
<script type="text/javascript" src="jss/ping.js"></script>
<!--<script type="text/javascript" src="jss/jquery.phono.js"></script>-->
<!--<script type="text/javascript" src="jss/phono_chat.js"></script>-->

'; ?>

<?php endif; ?>
<script type="text/javascript" src="jss/scripts.js"></script> 

</head>

<body>
<div id="bodywrapper">
<div id="overlay"></div>
<?php if ($_SESSION['user_id'] == ''): ?>
<div class="modalpopup" id="registerwindow">
	
	<a id="closeRegisterBtn" class="modalpopup-close-btn" href="#" style=""></a>
	<div id="registeroverlay" class="overlay" style="position: absolute; z-index: 8"></div>
	<div id="registerSuccesswindow" style="">
		<div>
		You have successfully registered. Now you can access your account by using email address and password . 
		Please check your email for detail information.
		</div>
		<a class="button" href="#" onClick="closeRegister()" style="margin-left: 110px;margin-top: 20px;">Reset</a>
	</div>
	<div class="">
	
		<div class="title">Registration</div>
        <div class="clear"></div>
    
		<div class="register">
			<div id='FormErrorMsg' style="color:red; text-align:center; padding-bottom:10px;"><?php if ($this->_tpl_vars['ermsg'] != ''): ?> <?php echo $this->_tpl_vars['ermsg'];  endif; ?> </div>
			<form name="registerForm" id="registerForm" enctype="multipart/form-data" method='post' onsubmit="" action="">
				<fieldset>
				<label>Email :</label>
				<input name="email" type="text" id="register-email" class="con-req" value="<?php echo $this->_tpl_vars['Formval']['email']; ?>
" />
				<label>User ID :</label>
				<input name="name" id="name" type="text" value="<?php echo $this->_tpl_vars['Formval']['name']; ?>
" class="con-req" />
				<p class="clear"></p>
				<label>Password :</label>
				<input name="password1" type="password" id="password1" class="con-req" value="<?php echo $this->_tpl_vars['Formval']['password1']; ?>
" />
				<label>Confirm Password :</label>
				<input name="password2" type="password" id="password2" class="con-req" value="<?php echo $this->_tpl_vars['Formval']['password2']; ?>
" />
				<p class="clear"></p>

				<p class="clear"></p>

				<label>Captcha :</label>
				<div style="float:left; width:180px;"><!--img src="CaptchaSecurityImages.php?characters=7" /--> <img src="#" id="captcha" />
				<br />
				<a href="javascript:;" onclick="document.getElementById('captcha').src='captcha.php?'+Math.random();document.getElementById('txtCaptcha').focus();" 
				id="change-image">Not readable? Change text.</a>
				
				</div>
				
				<label>Security Code :</label>
				<input name="txtCaptcha" id="txtCaptcha" type="text" value="" />
			 
				<p class="clear"></p>
				<div   style="margin-top:10px;">&nbsp;</div>
				
				<div style="font-size: 12px;float: right;margin-bottom: 10px;">By clicking Submit, I acknowledge that I have read and agree to our <a href="termsconditions.php">Terms & Conditions</a> and <a href="privacypolicy.php">Privacy Policy</a>.</div>
				<!--<label>&nbsp;</label>-->
				<div style="margin-left: 100px;">
					<a style="float: left;" class="button" href="javascript:;" onClick="return CheckFields();">Submit</a>
					<a style="float: left;" class="button" href="javascript:;" onClick="clearFields()">Reset</a>
				</div>
				<input type="hidden" name="submit" value="submit" />
				</fieldset>
			</form>
		</div>
		<div class="clear"></div>
	</div>
</div>

	<div class="modalpopup" id="loginwindow">
		<a class="modalpopup-close-btn" href="javascript:;" style=""></a>
		<div class="login">
			<div class="title">Login</div>
			<div style="width:100%">
			</div>	
			<br />
			<form name="frmLogin" id="frmLogin" method="post" action="" >
				<table>
					<tr>
						<td>
							<label for="email">E-Mail</label>
						</td>
						<td>
							<input name="email" type="text" value="Enter Your Email" id="email" onKeyPress="return submitbyenter('frmLogin',this, event)" />
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<div id='FormErrorMsg1' style="color:red;">&nbsp;</div>
						</td>
					</tr>
					<tr>
						<td>
							<label for="password">Password</label>
						</td>
						<td>
							<input name="password" type="password" value="password" id="password" onKeyPress="return submitbyenter('frmLogin',this, event)" />
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<div id='FormErrorMsg2' style="color:red;">&nbsp;</div>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<a class="button" href="javascript:;" style="margin-top: 10px" onclick="return submit_frm();">Login</a>
						</td>
					</tr>
					
				</table>
			</form>
			<div class="clear"></div>
			<p><a href="javascript:;" onclick="closeOpen('loginwindow','registerwindow',event)">Register</a> or <a href="#" onClick="closeOpen('loginwindow','lostPwd',event)">Lost password?</a></p>
		</div>
	</div>
		
	<div class="modalpopup" id="lostPwd" >
		<a class="modalpopup-close-btn" href="#" style=""></a>
		<div class="login">
			<div class="title">Lost you password?</div>
			<div style="width:100%">
				<div id='ErrorMsg' style="color:red; text-align:left; float:left; width:45%">&nbsp;</div>
			</div>	
			<br />
			<form name="frmLostpwd" id="frmLostpwd" method="post" action="" >
				<table>
					<tr>
						<td>
							<label for="email_id">E-Mail</label>
						</td>
						<td>
							<input name="email_id" type="text" value="" id="email_id" onKeyPress="return submitenter('frmLostpwd',this, event)" />
						</td>
					</tr>
					<tr>
						<td colspan="2" align="right">
							<a class="button" href="javascript:;" style="margin-top: 20px" onclick="return Get_pwd();">Submit</a>
						</td>
					</tr>
				</table>
			</form>
		</div>
		<div class="clear"></div>
        <p style="float: right;"><a onClick="closeOpen('lostPwd','registerwindow',event)">Register</a> or <a href="#" onClick="closeOpen('lostPwd','loginwindow',event)">Login</a></p>
	</div> 

	
<?php endif; ?>


<div class="navigation">
	<div class="menu">
        <a href="index.php" class="logo"></a>
		<ul class="menuUl">
			
            <li class="menuLi"><a class="menuA" href="howitworks.php" <?php if ($this->_tpl_vars['pg_name'] == 'howitworks.php'): ?> class="active" <?php endif; ?>><span>How It Works</span></a></li>
			<li class="menuLi"><span class="verticalseparatorbar">|</span></li>
            <li class="menuLi"><a class="menuA" href="findcoach.php" <?php if ($this->_tpl_vars['pg_name'] == 'findcoach.php' || $this->_tpl_vars['pg_name'] == 'coachdetails.php'): ?> class="active" <?php endif; ?>><span>Find Coach</span></a></li>
			<li class="menuLi"><span class="verticalseparatorbar">|</span></li>
            <li class="menuLi"><a class="menuA" href="find_training_partner.php" <?php if ($this->_tpl_vars['pg_name'] == 'find_training_partner.php' || $this->_tpl_vars['pg_name'] == 'training_partner_details.php'): ?> class="active" <?php endif; ?>><span>
			Find Training Partner</span>
			</a></li>
			<li class="menuLi"><span class="verticalseparatorbar">|</span></li>
			<li class="menuLi"><a class="menuA" href="javascript:;" <?php if ($this->_tpl_vars['pg_name'] == 'forum.php'): ?>  class="active" <?php endif; ?>><span>Master Class</span></a></li>
            <li class="menuLi"><span class="verticalseparatorbar">|</span></li>
			<li class="menuLi"><a class="menuA" href="forum/" target="_blank" <?php if ($this->_tpl_vars['pg_name'] == 'forum.php'): ?>  class="active" <?php endif; ?>><span>Forum</span></a></li>
		</ul>
		<ul style="float: right;" class="menuUl">
			<?php if ($_SESSION['user_id'] == ''): ?>
			<li class="menuLi"><a class="menuA" href="javascript:;" onClick="openLogin()"><span>Login</span></a></li>
			<li class="menuLi"><span class="verticalseparatorbar">|</span></li>
			<li class="menuLi"><a class="menuA" href="javascript:;" onClick="openRegister()" ><span>Register</span></a></li>
			<li class="menuLi"><span class="verticalseparatorbar">|</span></li>
			<li class="menuLi"><a class="menuA" href="javascript:;" onClick="open_lostPwd()"><span>Lost password?</span></a></li>
			<?php else: ?>
			<li class="menuLi"><span class="userid"><?php echo $this->_tpl_vars['name']; ?>
</span></li>
			<li class="menuLi"><span class="verticalseparatorbar">|</span></li>
			<li class="menuLi"><a class="menuA" href="schedule.php">Dashboard</a> </li>
			<li class="menuLi"><span class="verticalseparatorbar">|</span></li>
			<li class="menuLi usermenuli" style="margin-left: 0">
				<a href="javascript:;" id="arrowmenu" class="menuA downarrow" style="height: 20px"></a>	
				<div class="topsub_menu_wrapper" style="">
					<div class="topsub_menu" style="">
						<ul style="">
							<li><a href="cashier.php">Cashier (<?php echo $this->_tpl_vars['totalPoints']; ?>
 Pts)</a></li>
							<li><a href="dashboard.php" target="_blank">Support</a></li>
							<li><a href="contactus.php">Contact</a></li>
							<li style="border: none"><a href="logout.php">Logout</a></li>
						</ul>
					</div>
				</div>
			</li>
			<?php endif; ?>
        </ul>
    </div>

</div>
<div class="main">
<?php echo '
<script>
	var $ = jQuery.noConflict();
	$(".modalpopup").draggable();
</script>
'; ?>


<?php if ($this->_tpl_vars['pg_name'] == 'index.php' || $this->_tpl_vars['pg_name'] == 'my_lesson.php'): ?>
<div class="container">
<?php elseif ($this->_tpl_vars['pg_name'] == 'videodetails.php'): ?>
<div class="video-outer">
<?php else: ?>
<div class="container-inner">
<?php endif; ?>

